package com.web.base.auth.model;

import com.blue.jdbc.annotation.GeneratorType;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;
import com.blue.jdbc.annotation.Transient;

/**
 * 角色－权限实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月15日
 */
@Table(name = "auth_role_menu_auth")
public class RoleMenuAuth
{
	@Id(generator = GeneratorType.ASSIGNED)
	private Integer roleId; // 角色编号
	@Id(generator = GeneratorType.ASSIGNED)
	private Integer authId; // 权限编号

	@Transient
	private String url;

	public RoleMenuAuth()
	{
	}

	public RoleMenuAuth(Integer roleId, Integer authId)
	{
		this.roleId = roleId;
		this.authId = authId;
	}

	public Integer getRoleId()
	{
		return this.roleId;
	}

	public void setRoleId(Integer roleId)
	{
		this.roleId = roleId;
	}

	public Integer getAuthId()
	{
		return this.authId;
	}

	public void setAuthId(Integer authId)
	{
		this.authId = authId;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

}
